package ar.edu.unlp.info.tesis.controladores.frontend;


import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@Transactional
@RequestMapping(value="/consultas", method=RequestMethod.GET)
public class ConsultasController
{

	@RequestMapping(method=RequestMethod.GET, value="/agentes")
	public String verAgentes(Model m, HttpSession session)
	{
		return "agentes";
	}
	
	@RequestMapping(method=RequestMethod.GET, value="/grupos")
	public String verGrupos(Model m, HttpSession session)
	{
		return "grupos";
	}
	
	@RequestMapping(method=RequestMethod.GET, value="/statements")
	public String verStatements(Model m, HttpSession session)
	{
		return "statements";
	}
}
